DATABASECONF = {
    'mongodb': 'mongodb://192.168.0.220:27017',
    'mongodb_database': 'twitter',

    'mysql_host': '192.168.0.220',
    'mysql_user': 'root',
    'mysql_pwd': 'root',
    'mysql_db': 'crunchbase',
}

DATABASECONF_FACEBOOK = {
    'mongodb': 'mongodb://192.168.0.220:27017',
    'mongodb_database': 'facebook',

    'mysql_host': '192.168.0.220',
    'mysql_user': 'root',
    'mysql_pwd': 'root',
    'mysql_db': 'crunchbase',
}

DATABASECONF_LINKEDIN = {
    'mongodb': 'mongodb://192.168.0.220:27017',
    'mongodb_database': 'linkedin',

    'mysql_host': '192.168.0.220',
    'mysql_user': 'root',
    'mysql_pwd': 'root',
    'mysql_db': 'crunchbase',
}

# TWITTER_USER = {
#     'user': '752794935@qq.com',
#     'pwd': 'ider001',
# }
TWITTER_USERS = [{
    'user': '752794935@qq.com',
    'pwd': 'ider001'
    },
    {
        'user': '326737833@qq.com',
        'pwd': 'ider001',
    },
    {
        'user': '1802860533@qq.com',
        'pwd': 'ider001',
    },
    {
        'user': '2784802289@qq.com',
        'pwd': 'ider001',
    },
    {
        'user': '1878984117@qq.com',
        'pwd': 'ider001',
    },{
        'user': '2810359061@qq.com',
        'pwd': 'ider001',
    },{
        'user': '1718240884@qq.com',
        'pwd': 'ider001',
    },{
        'user': '2301345921@qq.com',
        'pwd': 'ider001',
    },
]
CONSUMER_KEY = 'Z2I5hbcmGlm7pI8yGQy2eYuVA'

CONSUMER_SECRET = 'mJxFbXsH0S3L4SoTEcMINrOJ1xS6W4ybjAhNO3laKHIt8aQmaT'

'''
TOKEN_CHOOSE
1,每次都获取新的token
2,如果有缓存的token，则使用这个token
'''
TOKEN_CHOOSE = 2

LOGGER = {
    "PATH": '.'
}
